Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Add VyOS containerlab integration tests - #37

Merged
jmgilman merged 21 commits into
masterfrom
joshuagilman/hom-24-introduce-containerlab-integration-tests-for-vyos-gateway
Dec 20, 2025
Merged

Add VyOS containerlab integration tests#37
jmgilman merged 21 commits into
masterfrom
joshuagilman/hom-24-introduce-containerlab-integration-tests-for-vyos-gateway

Conversation

@jmgilman

Copy link
Copy Markdown
Collaborator

Adds a containerlab-based VyOS gateway test harness, CI config generation, and supporting tooling.

jmgilman and others added 10 commits December 19, 2025 23:17
Replace the Packer-based VyOS image build with the official vyos-build
toolchain. This approach bakes the gateway configuration directly into
the image via build flavors, eliminating the need for KVM/QEMU nested
virtualization and brittle keystroke automation.

New files:
- vyos-build/build-flavors/gateway.toml: Build flavor with config
- vyos-build/scripts/generate-flavor.sh: Injects SSH credentials
- vyos-build/scripts/build.sh: Container build orchestration
- .github/workflows/vyos-build.yml: New CI workflow

The Packer workflow is deprecated but preserved for reference.

Closes HOM-23

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates all architecture documentation and bootstrap scripts to
reflect the migration from Packer to the vyos-build toolchain for
VyOS gateway image creation.

- B_bootstrap_procedure.md: Updated prerequisites, workflow steps
- 06_runtime_view.md: Updated VyOS image source reference
- 07_deployment_view.md: Updated deployment method reference
- 02_tinkerbell_provisioning.md: Updated provisioning description
- 007_image_pipeline_s3_intermediary.md: Updated ADR context
- build-vyos-image.sh: Rewrote to use Docker-based vyos-build

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates runbook and script descriptions in the directory tree
to reference vyos-build instead of Packer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix permission denied errors when finding .raw output file
- Search in vyos-build root directory first (where build-vyos-image places it)
- Add better debugging output for troubleshooting
- Remove temporary PR trigger used for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove all Packer-based VyOS image build code now that vyos-build
toolchain is fully implemented and tested. This includes deleting
the packer directory, workflow, and updating all documentation
references to reflect the new build approach.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@linear

linear Bot commented Dec 20, 2025

Copy link
Copy Markdown

@jmgilman
jmgilman force-pushed the joshuagilman/hom-24-introduce-containerlab-integration-tests-for-vyos-gateway branch from 1326d17 to d045dff Compare December 20, 2025 21:25
@jmgilman
jmgilman merged commit 01b3011 into master Dec 20, 2025
4 checks passed
@jmgilman
jmgilman deleted the joshuagilman/hom-24-introduce-containerlab-integration-tests-for-vyos-gateway branch December 20, 2025 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant